home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 36
/
Amiga Format CD36 (1999-01-22)(Future Publishing)(GB)[!][issue 1999-02].iso
/
-seriously_amiga-
/
graphics
/
gfx3d.library
/
fd
/
gfx3d_lib.fd
Wrap
Text File
|
1998-12-12
|
2KB
|
77 lines
* "gfx3d.library"
##base _GfX3dBase
##bias 30
##public
*--- functions in V1.0 ---
*
* Library support functions:
GFXVersion()()
GFXFeatures()()
* Memory management functions:
GFXAllocMem(bytesize)(d0)
GFXFreemem(memptr)(a0)
* Math support functions:
GFXFlt(value)(d0)
GFXFix(value)(d0)
GFXAdd(value1,value2)(d1,d0)
GFXSub(value1,value2)(d1,d0)
GFXMul(value1,value2)(d1,d0)
GFXDiv(value1,value2)(d1,d0)
GFXFixMul(fixvalue,value)(d1,d0)
GFXFltMul(fltvalue,value)(d1,d0)
GFXAbs(value)(d0)
GFXNeg(value)(d0)
GFXSin(angle)(d0)
GFXCos(angle)(d0)
GFXSqrt(value)(d0)
GFXFixSqrt(value)(d0)
GFXPi()()
* Structures support functions:
GFXSetColor(color)(d0)
GFXSetFarClip(dist)(d0)
GFXSetNearClip(dist)(d0)
* Structures definition functions:
GFXBegin(structtype)(d0)
GFXColor(color)(d0)
GFXVertex(x,y,z)(d0,d1,d2)
GFXPolygon(polygon)(a0)
GFXFrame(frame)(a0)
GFXPosition(x,y,z)(d0,d1,d2)
GFXDirection(ax,ay,az)(d0,d1,d2)
GFXFarClip(dist)(d0)
GFXNearClip(dist)(d0)
GFXObject(object)(a0)
GFXEnvironment(environment)(a0)
GFXWidth(width)(d0)
GFXHeight(height)(d0)
GFXFocus(focus)(d0)
GFXAspectRatio(rx,ry,rz)(d0,d1,d2)
GFXVideoBuffer(video)(a0)
GFXEnd()()
* Structures management functions:
GFXModifyObjectPosition(object,x,y,z)(a0,d0,d1,d2)
GFXModifyObjectDirection(object,ax,ay,az)(a0,d0,d1,d2)
GFXModifyObjectFrame(object,frame)(a0,a1)
GFXModifyCameraPosition(camera,x,y,z)(a0,d0,d1,d2)
GFXModifyCameraDirection(camera,ax,ay,az)(a0,d0,d1,d2)
GFXModifyCameraFocus(camera,focus)(a0,d0)
GFXModifyCameraAspectRatio(camera,rx,ry,rz)(a0,d0,d1,d2)
GFXModifyCameraWidth(camera,width)(a0,d0)
GFXModifyCameraHeight(camera,height)(a0,d0)
GFXModifyCameraVideoBuffer(camera,video)(a0,a1)
* Video control functions
GFXUpdateVideoBuffer()()
GFXWritePixel(x,y,color)(d0,d1,d2)
GFXClearWorkBuffer()()
GFXUpdateScene(camera)(a0)
*--- functions in V2.0 ---
*
GFXPalette(palette)(a0)
GFXSetShading(shading)(d0)
GFXShadeTable(shadetable)(a0)
GFXShading(shading)(d0)
GFXShareWorkBuffer(camera)(a0)
GFXSteps(steps)(d0)
GFXThreshold(threshold)(d0)
##end